package com.qf.dao;

import com.qf.pojo.Member;

/**
 * @author zhouhao
 * @create 2021-12-24 20:51
 */
public interface MemberDao {

    //根据电话号码查询member
    Member findmemberByTelephone(String telephone);

    //添加会员
    void addMember(Member member);

    //获取会员统计
    Integer findMemberCountByMonth(String month);

    //今日新增会员数
    Integer findMemberCountByDate(String today);

    //总会员数
    Integer findMemberTotalCount();

    //本周新增会员数
    Integer findMemberCountAfterDate(String thisWeekMonday);

    //本月新增会员数
    Integer findMemberCountAfterDateOnMonth(String firstDay4ThisMonth);
}
